package com.group11.invite.service;

import com.group11.common.pojo.ResponseResult;
import com.group11.common.pojo.Resume;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;


import java.util.List;

@FeignClient("service-resume")
public interface ResumeService {

    @PostMapping("listByUserId")
    ResponseResult<List<Resume>> listByUserId(@RequestHeader int id);

}
